/**
 * Description:
 * Class Name:ExecTest
 * Date:2022/2/17 14:40
 *
 * @author LTisme
 * @version JAVA17
 */
package 疯狂Java讲义.第7章_Java基础类库._7_2_系统相关._7_2_2_Runtime类与Java9的ProcessHandle;

public class ExecTest {
    public static void main(String[] args) throws Exception{
        var rt = Runtime.getRuntime();
        // 运行记事本程序
        rt.exec("notepad.exe");
    }
}
